<div class="zs-ibox">
	<div id='station'>
		<div class="zs-form-tabs">
			<table class="zs-form-tab">
				<tbody>
					<tr>
						<td class="right top" width="25%">所属政区：</td>
						<td>
							<com-single-check data="area" ng-model="selectArea" ng-change="onAreaChange"></com-single-check>
						</td>
					</tr>
					<tr>
					 <td class="right top" width="25%">转移类型：</td>
					 <td>
							<com-single-check data='[{"k":"all","v":"全部"},{"k":"0","v":"未转移"},{"k":"1","v":"已转移"},{"k":"ws","v":"污水处理厂"}]' ng-model="selectTrasfer" ng-change="onTrasferChange"></com-single-check>
					</td>
					</tr>
					<tr>
						<td class="right">站点名称：</td>
						<td colspan="2"><input class="zs-input" type="text"
							style="width: 145px;" ng-model='stationName'> <input
							type="button" name="ok" ng-click="queryStation();" value="查询"
							class="zs-btn"></td>
					</tr>
					<tr>
						<td colspan="2" class="left">
							<div class="tip">
								<span class="station_zc0 text">正常</span>
								<span class="station_cb1 text">超标</span>
								<span class="station_yc2 text">异常</span>
								<span class="station_gz3 text">故障</span>
							</div>
						</td>
					</tr>
					<tr >
						<td class="left" colspan="2" >
							<div class="tip">
								<span class="station_tb4 text">&nbsp;同步</span>
								<span class="station_ftb5 text">&nbsp;实时传输</span>
							</div>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div id="stationmapclass" class="zs-data-list"  style="overflow: auto;" ng-style="{height:(Map_H-230)+'px'}">
			<div ng-repeat="result in stationList">
				<div class="list" ng-if="result.COMPANY_NAME_HAS_PARENT == null && result.COMPANY_NAME != null" style="background-color: #f6f6f6;">
					<div ng-click="companyClick(result.WWTP_ID)" style="float: left;cursor: pointer;width:200px;">
						<div style="font-size: 12px;" ng-style="{'min-height':result.TEMP_IMG?'45px':'20px'}">{{result.COMPANY_NAME}}</div>
					</div>
					<div style="float: right">
						<div class="img-wrap">
							<a href="#"> 
								<img ng-if="result.TEMP_IMG"
								    ng-src="${hostBase}{{result.TEMP_IMG |firstImgUrl}}"
								    ng-click="imgShow(result.IMG)" 
									style="width: 50px; height: 40px;">
							</a>
						</div>
					</div>
				</div>
				<div ng-class="{'selected':result.GUID == selectStation.GUID}" company_guid="{{result.WWTP_ID}}" class="list "
					 style="padding-left: 15px;">
					<div  style="float: left;" class="tip">
						<span ng-class="{station_zc0:result.STATION_STATUS=='0',
						station_cb1:result.STATION_STATUS=='1',
						station_yc2:result.STATION_STATUS=='2',
						station_gz3:result.STATION_STATUS=='3'}" ng-click="changeStationStatus(0)"></span>
						
						<span style="display:inline-block;" ng-class="{station_tb4:result.IS_SYNCHRONIZED=='4',
										station_ftb5:result.IS_SYNCHRONIZED=='5'}">
						</span>
					</div>
					<div style="float: left;cursor: pointer;width:190px;">
						<div style="font-size: 12px;" >{{result.NAME}}</div>
						<div>
							<div></div>
							<a style="cursor: pointer;color: #b0afaf;" class="locate" ng-click="onLocateClick(result)">
								<span ng-show="result.CITY_NAME != null || result.AREA_NAME != null" ng-bind="result.CITY_NAME+'.'+result.AREA_NAME"></span>
								<span ng-show="result.CITY_NAME == null && result.AREA_NAME == null" >定位</span>
							</a>
						</div>
					</div>
					<div style="float: right">
					 <div class="img-wrap">
						<a href="#"> 
							<img ng-if="result.TEMP_PHOTO"
								ng-src="${hostBase}{{result.TEMP_PHOTO |firstImgUrl}}"
								ng-click="imgShow(result.PHOTO)" 
								style="width: 50px; height: 40px;">
							<img ng-if="!result.TEMP_PHOTO"
								ng-src="${wdpjsRootPath}wdp/images/zs-photo.png"
								style="width: 50px; height: 40px;">
						 </a>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>